package com.java1412.dao;

import com.java1412.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author java1412
 * @create 2021-07-15 14:07
 */
public interface UserRepository extends JpaRepository<User, Long> {

    User findByUsername(String username);
}
